package com.zjj.day4.app;

/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/22
 */

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();

        Usb usb = new Usb();
        computer.dataExchange(usb);

        Mobile hardDrive = new Mobile();
        computer.dataExchange(hardDrive);

        Mp3 mp3 = new Mp3();
        computer.dataExchange(mp3);
        mp3.playMusic();
    }
}